import os

cmd = 'pyinstaller -F -w -i m13.ico main.py'
print(cmd)
os.system(cmd)